ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3D Namespace / C1Chart3D Class / SaveImage Method / SaveImage(Byte[],ImageFormat) Method
Byte array.
Image format.

In This Topic
    SaveImage(Byte[],ImageFormat) Method
    In This Topic
    Saves an chart image of the specified format to the specified byte array.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveImage( _
       ByRef byteArray() As System.Byte, _
       ByVal imgFmt As System.Drawing.Imaging.ImageFormat _
    ) 
    public void SaveImage( 
       ref System.byte[] byteArray,
       System.Drawing.Imaging.ImageFormat imgFmt
    )

    Parameters

    byteArray
    Byte array.
    imgFmt
    Image format.
    Remarks
    This method creates an image of the specified format and the current display size and saves the results to the specified byte array. If an error occurs, an appropriate exception is thrown indicating the cause of error.
    See Also